package com.bh.statistics.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页的返回类型，layui框架分页专用
 * @param <T>
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultPage<T> {

    private Integer code; //状态值
    private String msg; //信息
    private Integer count; //数据总条数
    private List<T> data = new ArrayList<>();  //数据
//    private Object data;


}
